package Factory;

import Factory.interfaces.Pizza;
import Factory.store.ChicagoPizzaStore;
import Factory.store.NYStylePizzaStore;
import Factory.store.PizzaStore;

/**
 * @Author: pengzx
 * @Description:
 * @Date: 15:46 2017/9/7
 * @Modified by: 1.0
 */
public class Demo {
    public static void main(String[] args){
        //PizzaStore pizzaStore = new NYStylePizzaStore();
        PizzaStore pizzaStore1 = new ChicagoPizzaStore();

        //Pizza pizza = pizzaStore.orderPizza("cheese");
        pizzaStore1.orderPizza("cheese");
    }
}
